Conversation
- Messages now split into two tables, all messages, and messages in need of moderation (need dev help to do the logic here) - Removed moderation controls (they'll be on the message screen #904) - Public columns are now a single column with a checkbox toggle control (need a dev to wire this up) - Message count now includes a # to moderate (needs wiring up by a dev)
|
|
|
@wrightmartin I tried to cherry pick the checkbox part of this out as a separate change, but I'm not sure how it's meant to work. In the current version, the eye is a |
|
@tmtmtmtm hmm, no, I think it would work best as it was before, the checkbox should submit. @chrismytton @duncanparkes any ideas if this is possible? |
|
@tmtmtmtm @wrightmartin A <form>
<input type="checkbox">
<button type="submit">Save</button>
</form>
<script>
$(function(){
$(':checkbox').on('change', function(){
$(this).parents('form').submit();
}).siblings('button').hide();
});
</script>Or something. |
|
I talked to Chris about this on the train this morning, and the best we could come up with that would actually still work plausibly well without JS was to have the default version be the button (as the current live version), and have the JS replace that with the checkbox, that it then also traps and auto-submits. |

This is WIP, please do not merge